package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.PersonMessage;
import cn.wolfcode.trip.base.domain.SendMe;
import cn.wolfcode.trip.base.domain.StrategyComment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SendMeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SendMe record);

    /*SendMe selectByPrimaryKey(Long id);

    List<SendMe> selectAll();
*/
    int updateByPrimaryKey(SendMe record);

    void insertrelation(@Param("strategyCommentId") Long strategyCommentId, @Param("sendMeId") Long sendMeId);

    void changeState(@Param("state") int state, @Param("targetId") Long targetId);
}